#!/usr/bin/env bash

PREFIX=$(cd "$(dirname "$0")"; pwd)

cd $PREFIX
source ./fckoa/sh/init.sh


if [ ! -d node_modules ]; then
yarn
fi

if [ "$(uname)"=="Darwin" ]; then
if ! hash  terminal-notifier 2>/dev/null; then
brew install terminal-notifier
fi
fi

yarn run test
